package com.yatb.trac.pojo.condition;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;

import com.yatb.trac.util.SQLCondition;

public class AllegatiFinderBySessioneUtenteWeb implements SQLCondition {
	
	public String sessionId ;
	
	

	public AllegatiFinderBySessioneUtenteWeb(String sessionId) {
		super();
		this.sessionId = sessionId;
	}



	public Criterion create(Object... params) {
		Criterion c = Restrictions.eq("sessioneUtente", sessionId);
		
		return c;
	}

}
